package com.leenmvc.core.security.entity.export;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.leenmvc.core.annotation.PrimaryKey;

public class LogOperationExcel {

    @PrimaryKey
    private Long id;

    /**
     *
     */
    @Excel(name = "操作")
    private String operation;
    /**
     *
     */
    @Excel(name = "请求url")
    private String requestUri;
    /**
     *
     */
    @Excel(name = "请求方法")
    private String requestMethod;
    /**
     *
     */
    @Excel(name = "请求参数")
    private String requestParams;
    /**
     *
     */
    @Excel(name = "请求时间(ms)")
    private Integer requestTime;
    /**
     *
     */
    @Excel(name = "用户代理")
    private String userAgent;
    /**
     *
     */
    @Excel(name = "登录ip")
    private String ip;
    /**
     *
     */
    @Excel(name = "状态",replace = {"成功_0", "失败_1"})
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public void setRequestUri(String requestUri) {
        this.requestUri = requestUri;
    }

    public String getRequestMethod() {
        return requestMethod;
    }

    public void setRequestMethod(String requestMethod) {
        this.requestMethod = requestMethod;
    }

    public String getRequestParams() {
        return requestParams;
    }

    public void setRequestParams(String requestParams) {
        this.requestParams = requestParams;
    }

    public Integer getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(Integer requestTime) {
        this.requestTime = requestTime;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
